* {
  padding: 0px;
  margin: 0px;
  color: #555;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border;
  list-style: none;
  font-family: -apple-system, BlinkMacSystemFont, 
  "PingFang SC", Helvetica, Tahoma, Arial, 
  "Hiragino Sans GB", "Microsoft YaHei", 
  微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;
}

html,body {
  width: 100%;
  min-height: 100%;
  height: 100%;
}

.cm-content {
  margin: 0 auto;
  width: 100%;
  max-width: 1024px;
  min-height: 100%;
}

.left {
  float: left;
}
.right {
  float: right;
}

.red {
  color: #ff1244;
}

.blue {
  color: #007cdc;
}

.orange {
  color: #ff8345;
}

.green {
  color: #009f5d;
}

button:focus,
input:focus {
  outline: none;
}


#container {
  border-left: 1px solid #d1d2d4;
  border-right: 1px solid #d1d2d4;
}

#cart {
  min-height: 100%;
  background: #f0f0f0;
}
/** .header */
#cart .header {
  background: #019fde;
  height: 4rem;
  padding: 0 1rem;
}

#cart .header div {
  height: 100%;
  display: flex;
  cursor: pointer;
}

#cart .header div a {
  -webkit-transition: all .2s linear;
  transition: all .2s linear;  
}

#cart .header div:hover a {
  transform: translate3d(0, -5px, 0);    
  -webkit-transform: translate3d(0, -5px, 0);
  opacity: .7;
}

#cart .header i,
#cart .header a,
#cart .header span {
  color: #f0f0f0;
  font-size: 1rem;
  display: inline-block;
  margin: auto 0;
  letter-spacing: 1px;
  vertical-align: middle;
}

#cart .header .go span {
  margin-left: 0.9rem;
}

/**  */

/** crat-null */
#cart .cart-null {
  width: 100%;
  height: 90%;
  overflow: hidden;
}

#cart .cart-null .img {
  width: 15rem;
  margin: 0 auto;
}

#cart .cart-null .img img {
  width: 100%;
}

#cart .cart-null .text {
  width: 100%;
  text-align: center;
  height: auto;
  margin-top: 1rem;
}

#cart .cart-null .text p {
  line-height: 1.5rem;
  color: #019fde;
  font-size: .8rem;
  letter-spacing: 1px;
}

/**  */

/** cart */
#cart .cart {
  width: 100%;
  height: auto;
  overflow: hidden;
  padding-bottom: 7rem;
}

#cart .cart .item {
  width: 100%;
  height: 6rem;
  position: relative;
  background: #fff;
  border-bottom: 1px solid #d1d2d4;
}



#cart .cart .item .item-wrap {
  position: absolute;
  left: 0rem;
  right: -3rem;
  height: 100%;
}
#cart .cart .item .item-content {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#cart .cart .item .item-content:after {
  content: '';
  display: block;
  position: absolute;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.swipper {
  transition: all .3s cubic-bezier(.25,.1,.25,1) 0s;
  -webkit-transition: all .3s cubic-bezier(.25,.1,.25,1) 0s;
  -moz-transition: all .3s cubic-bezier(.25,.1,.25,1) 0s;
  -ms-transition: all .3s cubic-bezier(.25,.1,.25,1) 0s;
  -o-transition: all .3s cubic-bezier(.25,.1,.25,1) 0s;
} 
#cart .cart .item .item-content .select {
  left: 0rem;
  top: 0rem;
  height: 100%;
  width: 3rem;
}


#cart .cart .item .item-content .select input {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  top: 2.5rem;
  left: 0.45rem;
  z-index: 2;
  opacity: 0;
  cursor: pointer;
}

#cart .cart .item .item-content .select label:before {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 2.5rem;
  left: 0.45rem;
  border: 1px solid #d1d2d4;
  border-radius: 100%;
}

#cart .cart .item .item-content .select label:after {
  position: absolute;
  width: 1rem;
  line-height: 1rem;
  top: 2.5rem;
  left: 0.45rem;
  border: 1px solid #d1d2d4;
  border-radius: 100%;
  text-align: center;
  color: #ff8345;
}

#cart .cart .item .item-content .select input:checked + label:after {
  content: '\f00c';
  border-color: #ff8345;
}

#cart .cart .item .item-content .content {
  width: calc(100% - 6rem);
  -webkit-width: calc(100% - 6rem);
  -moz-width: calc(100% - 6rem);
  height: 100%;
  padding: 1rem .5rem 1rem 0rem;
}

#cart .cart .item .item-content .content .img {
  width: 5rem;
  padding: 0rem .5rem;
}
#cart .cart .item .item-content .content .img img {
  display: block;
  width: 100%;
  border: 1px solid #e0e0e0;
}

#cart .cart .item .item-content .content .text {
  width: calc(100% - 5rem);
  width: -webkit-calc(100% - 5rem);
  width: -moz-calc(100% - 5rem);
  height: 100%;
  overflow: hidden;
}

#cart .cart .item .item-content .content .text div {
  line-height: 1.3333333rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#cart .cart .item .item-content .content .text div span {
  font-size: .8rem;
  padding-right: 2px;
}

.item-content .content .text .price i,
.item-content .content .text .price span {
  color: #ff8345;
  font-size: 0.8rem;
}

.item-content .content .text .count .right span {
  position: relative;
  margin: 0 0.5rem;
  transition: all .3s ease;
  cursor: pointer;
  z-index: 10;
}

.item-content .del {
  height: 100%;
  width: 3rem;
  background: #ff1244;
}

.item-content .del a {
  position: relative;
  display: block;
  width: 100%;
  line-height: 6rem;
  text-align: center;
  font-size: 1.5rem;
  transition: opacity .3s ease;
  -webkit-transition: opacity .3s ease;
  -moz-transition: opacity .3s ease;
  cursor: pointer;
  z-index: 10;
}

.item-content .del a:hover {
  opacity: .6;
}

.item-content .del a i {
  color: #fff;
}
/**  */

/** balance */
.balance {
  position: fixed;
  bottom: 4.5rem;
  left: 0%;
  height: 2.5rem;
  width: 100%;
  z-index: 100;
}

.balance .cm-content {
  background: #fff;
  border-left: 1px solid #d1d2d4;
}

.balance .all {
  height: 100%;
  width: 20%;
  position: relative;
  font-size: 0.9rem;
  padding-left: 2rem;
  line-height: 2.5rem;
}

.balance .all label {
  color: #333;
  font-size: .9rem;
  cursor: pointer;
}

.balance .all label:before {
  content: '';
  position: absolute;
  top: 0.70rem;
  left: 0.45rem;
  height: 1rem;
  width: 1rem;
  border: 1px solid #d1d2d4;
  border-radius: 3px;  
}

.balance .all label:after {
  position: absolute;
  top: 0.70rem;
  left: 0.45rem;
  line-height: 1rem;
  width: 1rem;
  font-size: 0.8rem;
}

.balance .all input {
  position: absolute;
  top: 0.70rem;
  left: 0.45rem;
  height: 1.1rem;
  width: 1.1rem;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.balance .all input:checked + label:after {
  content: '\f00c';
  border: 1px solid #ff8345;
  border-radius: 3px; 
  text-align: center;
  background: #ff8345;
  color: #fff;
}

.balance .text {
  height: 100%;
  width: 55%;
  text-align: center;
  line-height: 2.5rem;
}

.balance .text span {
  font-size: .9rem;
  padding: 0px 2px;
  color: #000;
}
 
.balance .text  i {
  color: #ff8345 ;
  padding-right: 1px;
}

.balance .text span.money {
  color: #ff8345 ;
}

.balance .balance-btn {
  height: 100%;
  width: 25%;
}

.balance .balance-btn a {
  display: block;
  text-align: center;
  line-height: 2.5rem;
  width: 100%;
  background: #ff8345;
  color: #fff;
  font-size: .9rem;
  cursor: pointer;
  transition: opacity .3s ease-out;
  -webkit-transition: opacity .3s ease-out;
  -moz-transition: opacity .3s ease-out;
}

.balance .balance-btn a:hover {
  opacity: .7;
}

/**  */
